Packetery\Module\Order\Repository B

Total Complexity 81
Dependencies 20
Dependents 30
Total lines 696
Lines of code 403
Logical lines of code 178
Comment lines 201
Methods 26
Properties 6

Methods 26

Method Rating Maintainability Complexity Lines of code
processClauses()
A
44 15 41
findStatusSyncingOrderIds()
A
42 13 51
orderToDbArray()
S
43 5 46
getByIds()
S
50 5 29
onBeforeDataInsertion()
S
50 5 28
findById()
S
59 4 15
applyCustomFilters()
S
61 3 11
getByWcOrderWithValidCarrier()
S
63 3 11
getWcOrderJoinClause()
S
57 2 21
createOrAlterTable()
S
54 1 35
countOrders()
S
56 2 18
deleteOrphans()
S
59 2 15
getDataByWcOrder()
S
65 3 10
getWcOrderById()
S
69 2 7
getByIdWithValidCarrier()
S
69 2 7
getById()
S
69 2 7
deletedPostHook()
S
74 2 5
getByWcOrder()
S
69 2 7
getDataById()
S
64 1 11
delete()
S
74 1 4
__construct()
S
67 1 8
countOrdersToPrint()
S
79 1 3
countOrdersToSubmit()
S
79 1 3
saveData()
S
75 1 4
drop()
S
79 1 3
save()
S
80 1 3